
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Using a native database interface</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="connpbp32.htm">Previous</A>&nbsp;&nbsp;<A HREF="connpbp34.htm" >Next</A>
<!-- End Header -->
<A NAME="BABGGGDC"></A><h1>Using a native database interface</h1>
<A NAME="TI654"></A><p>You perform several basic steps to use a native database interface
to access a database. </p>
<A NAME="TI655"></A><h4>About preparing to use the database</h4>
<A NAME="TI656"></A><p>The first step
in connecting to a database through a native database interface
is to prepare to use the database. Preparing the database ensures
that you will be able to access and use your data in PowerBuilder.</p>
<A NAME="TI657"></A><p>You must prepare the database <i>outside</i> PowerBuilder <i>before</i> you
start the product, then define the database interface and connect
to it. The requirements differ for each database&#8212;but in
general, preparing a database involves four basic steps.</p>
<A NAME="TI658"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To prepare to use your database with PowerBuilder:</p>
<ol><li class=fi><p>Make sure the required database server
software is properly installed and configured at your site.</p></li>
<li class=ds><p>If network software is required, make sure it
is properly installed and configured at your site and on the client
computer so that you can connect to the database server.</p></li>
<li class=ds><p>Make sure the required database client software
is properly installed and configured on the client computer. (Typically,
the client computer is the one running PowerBuilder.)</p><p>You must obtain the client software from your database vendor
and make sure that the version you install supports <i>all</i> of
the following:<A NAME="TI659"></A>
<ul>
<li class=fi>The operating
system running on the client computer</li>
<li class=ds>The version of the database that you want to access</li>
<li class=ds>The version of PowerBuilder that you are running
</li>
</ul>
</p></li>
<li class=ds><p>Verify that you can connect to the server and
database you want to access outside PowerBuilder.</p></li></ol>
<br><A NAME="TI660"></A><p>For specific instructions to use with your
database, see "Preparing to use the database" in
the chapter for your native database interface.</p>
<A NAME="TI661"></A><h4>About installing native database interfaces</h4>
<A NAME="TI662"></A><p>After you prepare to use the database, you must install the
native database interface that accesses the database. See the instructions
for each interface for more information.</p>
<A NAME="TI663"></A><h4>About defining native database interfaces</h4>
<A NAME="TI664"></A><p>Once you are ready to access the database, you start PowerBuilder and
define the database interface. To define a database interface, you
must create a database profile by completing the Database Profile
Setup dialog box for that interface.</p>
<A NAME="TI665"></A><p>For general instructions, see <A HREF="connpbp7.htm#X-REF298585259">"About creating database
profiles"</A>. For instructions
about defining database interface parameters unique to a particular database,
see "Preparing to use the database" in the chapter
for your database interface. </p>
<A NAME="TI666"></A><h4>For more information</h4>
<A NAME="TI667"></A><p>The following chapters give general information about using
each native database interface. For more detailed information:<A NAME="TI668"></A>
<ul>
<li class=fi>Check to see if there is a
technical document that describes how to connect to your database.
Any updated information about connectivity issues is available from
the <A HREF="http://www.sybase.com/support">Sybase Support and Downloads Web site</A>
.</li>
<li class=ds>Ask your network or system administrator for assistance
when installing and setting up the database server and client software
at your site.
</li>
</ul>
</p>

